package com.byedu.kaosi;

import com.byedu.base.BaseService;
import com.byedu.domain.kaosi.Kaosi_QuestionDO;
import com.byedu.mapper.kaosi.KaoShiQuestionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by jason on 2017/5/14.
 */
@Service
public class KaoShiQuestionService extends BaseService {

    @Autowired
    KaoShiQuestionMapper kaoShiQuestionMapper;


    public Integer updateKaoShiQuestionDObyId(Kaosi_QuestionDO kaoShiQuestionDO){
       return  kaoShiQuestionMapper.updateKaoShiQuestionDObyId(kaoShiQuestionDO);
    }

    public List<Kaosi_QuestionDO> getKaoShiQuestionDOList(){
        return  kaoShiQuestionMapper.getKaoShiQuestionDOList();
    }


}